﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CVM.Common
{
    public abstract class ModelFactory
    {
        public static Data.Entities.DataEntityBase GetType(Core.Abstract.DomainBase domain)
        {
            switch (domain.GetType().Name)
            {
                case "Candidate" :
                    return new Data.Entities.CandidateData();
                break;
            }

            return null;
        }
    }
}
